<?xml version="1.0"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:c="http://java.sun.com/jsp/jstl/core"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                template="/templates/main.xhtml">
    
    <ui:define name="content">
    	<p:outputLabel value="#{dateBean.date}">
    		<f:convertDateTime dateStyle="full" timeZone="es_CL" type="date" />
    	</p:outputLabel>
        <p:tabView id="tabView" dynamic="true" cache="false" activeIndex="1">
            <p:tab id="debtsTab" title="Deudas"> 
                <ui:include src="/views/debtsList.xhtml"/>
            </p:tab>

            <p:tab id="negotiatonsTab" title="Negociaciones">
                <ui:include src="/views/negotiationsList.xhtml" />
            </p:tab>

            <p:tab id="historicTab" title="Historico">
                <ui:include src="/views/historyList.xhtml"/>
            </p:tab>
        </p:tabView>
    </ui:define>
</ui:composition>